@echo off

title Stopping PRPC 62 Tomcat...

set JAVA_HOME=C:\pega\apps\java\jdk1.6
set CATALINA_HOME=C:\pega\tools\apache-tomcat-6.0.28
set JAVA_ENDORSED_DIRS=C:\pega\tools\apache-tomcat-6.0.28\endorsed
set JAVA_OPTS=

set CATALINA_BASE=.\workspace\Servers\Tomcat60_Default-config
if exist %CATALINA_BASE%\conf\catalina.policy goto stopTomcat
echo Could not find Tomcat in %CATALINA_BASE%

goto end

:stopTomcat
%CATALINA_HOME%\bin\shutdown.bat 

:end

